/* Copyright (c) 2025 Beijing Semidrive Technology Corporation
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * @file  SpiSlave_Irq.h
 * @brief Semidrive. AUTOSAR 4.3.1 MCAL SpiSlave_Slave plugins.
 */

#ifndef SPI_SLV_IRQ_H
#define SPI_SLV_IRQ_H

#ifdef __cplusplus
extern "C" {
#endif

/*******************************************************************************
**                      Include Section                                       **
*******************************************************************************/
#include "Std_Types.h"
#include "Mcal.h"
/*******************************************************************************
**                      Version Information                                   **
*******************************************************************************/
/* AUTOSAR Release version information */
#define SPI_SLV_DRIVER_AR_RELEASE_MAJOR_VERSION SPI_SLV_AR_RELEASE_MAJOR_VERSION
#define SPI_SLV_DRIVER_AR_RELEASE_MINOR_VERSION SPI_SLV_AR_RELEASE_MINOR_VERSION
#define SPI_SLV_DRIVER_AR_RELEASE_REVISION_VERSION SPI_SLV_AR_RELEASE_REVISION_VERSION

/* File version information */
#define SPI_SLV_DRIVER_SW_MAJOR_VERSION SPI_SLV_SW_MAJOR_VERSION
#define SPI_SLV_DRIVER_SW_MINOR_VERSION SPI_SLV_SW_MINOR_VERSION

/*******************************************************************************
**                      Global Symbols                                        **
*******************************************************************************/

/*******************************************************************************
**                      Global Data Types                                     **
*******************************************************************************/

/*******************************************************************************
**                      Function Prototypes                                   **
*******************************************************************************/
#if ( SPI_SLV_LEVEL_DELIVERED == SPI_SLV_LEVEL_1) || ( SPI_SLV_LEVEL_DELIVERED == SPI_SLV_LEVEL_2)
extern ISR(SpiSlave1_IrqHandler);
extern ISR(SpiSlave2_IrqHandler);
extern ISR(SpiSlave3_IrqHandler);
extern ISR(SpiSlave4_IrqHandler);
extern ISR(SpiSlave5_IrqHandler);
extern ISR(SpiSlave6_IrqHandler);
extern ISR(SpiSlave7_IrqHandler);
extern ISR(SpiSlave8_IrqHandler);
extern ISR(SpiSlave9_IrqHandler);
extern ISR(SpiSlave10_IrqHandler);
extern ISR(SpiSlave11_IrqHandler);
extern ISR(SpiSlave12_IrqHandler);
extern ISR(SpiSlave13_IrqHandler);
extern ISR(SpiSlave14_IrqHandler);
#endif

#ifdef __cplusplus
}
#endif

#endif /* SPI_SLV_IRQs_H */

/*******************************************************************************
**                      End of File                                           **
*******************************************************************************/
